package com.atguigu.actual.edu0417.beans;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Set;

/**
 * @author Mr.Ren
 * @create 2023-10-22 14:06
 */
@Data
@AllArgsConstructor
@Builder
public class TradeProvinceOrderBean {
    //窗口起始时间
    String stt;
    //窗口结束时间
    String edt;
    //省份Id
    String provinceId;
    //省份名称
    @Builder.Default
    String provinceName = "";
    //来源Id
    String sourceId;
    //来源名称
    @Builder.Default
    String sourceName = "";
    //订单id
    @TransientSink
    Set orderIdSet;
    String curDate;
    //用户id
    @TransientSink
    Set userIdSet;
    //累计下单次数
    Long orderCount;
    //累计下单人数
    Long orderNumber;
    //累计下单原始金额
    BigDecimal orderOriginAmount;
    //累计优惠券减免金额
    BigDecimal orderCouponReduceAmount;
    //累计下单最终金额
    BigDecimal orderFinalAmount;
    //时间戳
    @TransientSink
    Long ts;

}
